#!/usr/bin/env bash
if [[ $# != 4 ]];then
    echo "格式：cutvideo 00:01:00 00:02:00 src.mp4 dest.mp4"
    exit 0
fi
ffmpeg -ss $1 -to $2 -i $3 -c copy $4
